package com.hpjpw.ido.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息阅读状态对象 ido_message_receive
 * 
 * @author hpj
 * @date 2021-01-04
 */
@ApiModel("MessageReceiveDomain")
public class MessageReceive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    @ApiModelProperty("ID")
    private String id;

    /** 消息ID */
    @Excel(name = "消息ID")
    @ApiModelProperty("消息ID")
    private Long messageId;

    /** 接收用户ID */
    @Excel(name = "接收用户ID")
    @ApiModelProperty("接收用户ID")
    private Long receiverId;

    /** 阅读状态 */
    @Excel(name = "阅读状态")
    @ApiModelProperty("阅读状态")
    private Long state;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMessageId(Long messageId) 
    {
        this.messageId = messageId;
    }

    public Long getMessageId() 
    {
        return messageId;
    }
    public void setReceiverId(Long receiverId) 
    {
        this.receiverId = receiverId;
    }

    public Long getReceiverId() 
    {
        return receiverId;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("messageId", getMessageId())
            .append("receiverId", getReceiverId())
            .append("state", getState())
            .toString();
    }
}
